import Vue from 'vue'
import Vuex from 'vuex'
import myCart from './cart.js'
import myUser from './user.js'

Vue.use(Vuex)
// 创建store对象
const store = new Vuex.Store({
	modules: {
		'm_cart': myCart,
		'm_user': myUser
	}
})

export default store